<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

/**
 * Class SpreadUserShare
 *
 * @package App\Model
 * @mixin \Eloquent
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare query()
 * @property int $id
 * @property int $user_id
 * @property int $spread_id 推广id
 * @property string|null $title 标题
 * @property string $cover 封面
 * @property int $author_user_id  创建广告作者id
 * @property string|null $head_picture 头像
 * @property string|null $user_name 用户名字
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereAuthorUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereCover($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereHeadPicture($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereSpreadId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\SpreadUserShare whereUserName($value)
 */
class SpreadUserShare extends Model
{
    protected $table = 'spread_user_share';

    protected  $fillable = ['id', 'user_id', 'user_name','title',  'spread_id', 'cover', 'author_user_id', 'head_picture'];
}
